#include <stdio.h>

int 
main(void)
{
    int item_number, day, month, year;
    float unit_price;

    puts("Enter item number:");
    scanf("%d", &item_number);

    puts("Enter unit price:");
    scanf("%f", &unit_price);

    puts("Enter purchase date (mm/dd/yyyy):");
    scanf("%d/%d/%d", &month, &day, &year);

    printf("Item\t\tUnit\t\tPurchase\n");
    printf("\t\tPrice\t\tDate\n");
    printf("%d\t\t$%8.2f\t%.2d/%.2d/%.4d\n", item_number, unit_price, \
            day, month, year);

    return 0;
}
